package com.hp.dao;

import com.hp.entity.Role;

import java.util.List;

public interface RoleDao {
    public List<Role> findAll();

    public void addRole(Role role);

    public Role findById(int id);

    public void update(Role role);

    public Role findByRoleName(String rolename);
}
